/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package sp.dao;

import sp.model.Kortim;

/**
 *
 * @author Imam Habib Pamungkas <imamhabibpamungkas@gmail.com>
 */
public class KortimDao extends DaoService<Kortim> {

    private KortimDao() {
        super(Kortim.class);
    }

    public static KortimDao getInstance() {
        return KortimDaoHolder.INSTANCE;
    }

    private static class KortimDaoHolder {

        private static final KortimDao INSTANCE = new KortimDao();
    }

    @Override
    public Kortim getSingleBy(String N, String p, String k) {
        return (Kortim) super.getSingleBy(N, p, k); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public Kortim getByID(Object id) {
        return super.getByID(id); //To change body of generated methods, choose Tools | Templates.
    }
}
